export type { CourseListItemType } from '@/api/service/base.type';
import type {
	GetAnalysisResultResponseType,
	GetLessonTeacherPathResponseType
} from '@/api/service/lesson-analysis-details.type';
export type { PathInfoItemType } from '@/api/service/lesson-analysis-details.type';

export interface AnalysisResultType extends GetAnalysisResultResponseType {
	planBreakTime?: number;
	realBreakTime?: number;
	calLateBeginTime?: number;
	calBeginTime?: number;
	calEarlyStopTime?: number;
	calLateStopTime?: number;
	calEndTime?: number;
	calTotalTime?: number;
	planTotalTime?: number;
	calTeachTime?: number;
}

export interface TeacherPathInfoType extends GetLessonTeacherPathResponseType {
	totalAreaDuration?: number;
	lecternAreaRate?: number;
	teachAreaRate?: number;
	studentAreaRate?: number;
}

// 行为信息列表
export interface BehaviorDataType {
	explainingTimes: number;
	writingTimes: number;
	walkingTimes: number;
	leaningTimes?: number;
}

export interface PreviewInfoType {
	transFileUrl: string;
	name: string;
	type: number;
	analysisType: number;
	videoTime: number;
}

export interface RealBreakTimeItemType {
	startTime: number;
	endTime: number;
}
